package com.briup.cms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.cms.bean.Role;
import com.briup.cms.service.RoleService;
import com.briup.cms.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author wo'q'q'c
* @description 针对表【cms_role】的数据库操作Service实现
* @createDate 2024-11-18 15:52:41
*/
@Service
public class RoleServiceImpl implements RoleService{
    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<Role> list() {
        return roleMapper.selectList(null);
    }
}




